import { normalizeContainer } from '../../../../global_comps/Func/normalizeContainer';
import {
  user_sign_border,
  user_sign_func_submit,
  user_sign_identity_inp,
  user_sign_name_inp,
  user_sign_passworld_certain_inp,
  user_sign_passworld_inp,
  user_sign_phone_inp,
  user_signed_login,
} from '../DataDefine/sourceData';
import type { user_sign_props } from './cla_user_sign_props';

const user_sign_staticNodeTag = 'user_sign_staticNode';

export class user_sign_staticNode {
  get [Symbol.toStringTag]() {
    return user_sign_staticNodeTag;
  }

  constructor(props?: user_sign_props) {}

  /**
   * 注册 表 主体
   */
  dom_border = normalizeContainer(user_sign_border)!;

  /**
   * 注册 成功
   *
   * 登录
   */
  dom_login = normalizeContainer(user_signed_login)!;

  /**
   * 用户 名
   */
  inp_name: HTMLInputElement = normalizeContainer(user_sign_name_inp)! as any;

  /**
   * 用户 身份号
   */
  inp_identity: HTMLInputElement = normalizeContainer(
    user_sign_identity_inp
  )! as any;

  /**
   * 用户 手机号
   */
  inp_phone: HTMLInputElement = normalizeContainer(user_sign_phone_inp)! as any;

  /**
   * 用户 密码
   */
  inp_passworld: HTMLInputElement = normalizeContainer(
    user_sign_passworld_inp
  )! as any;

  /**
   * 用户 确认 密码
   */
  inp_passworld_certain: HTMLInputElement = normalizeContainer(
    user_sign_passworld_certain_inp
  )! as any;

  /**
   * 提交用户 输入信息
   */
  dom_submit = normalizeContainer(user_sign_func_submit)!;
}
